package com.jhgk.jhcee.auth.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class Org implements Serializable {
    @ApiModelProperty(value = "组织主键ID")
    private Integer id;

    @ApiModelProperty(value = "直接上级组织ID")
    private Integer parentId;

    @ApiModelProperty(value = "组织名字")
    private String name;

    @ApiModelProperty(value = "组织全路径名")
    private String fname;

    @ApiModelProperty(value = "组织全路径ID")
    private String fid;

    @ApiModelProperty(value = "组织类型，ogn：机构，dpt：部门，pos：岗位，psm：人员成员")
    private String orgKindId;

    @ApiModelProperty(value = "省份代码")
    private Integer provinceId;

    @ApiModelProperty(value = "组织级别")
    private Integer level;

    @ApiModelProperty(value = "节点类型，0：中间节点，1：叶子节点")
    private Integer nodeType;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "传真")
    private String fax;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "邮编")
    private String zip;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "图标")
    private String iconName;

    @ApiModelProperty(value = "同一级节点显示排序编号")
    private String sortNo;

    @ApiModelProperty(value = "组织全路径顺序号")
    private String sequence;

    @ApiModelProperty(value = "是否有效，0：禁用，1：启用")
    private Integer validState;

    @ApiModelProperty(value = "显示时是否自动展开，0：不自动展开，1：自动展开")
    private Integer autoExpand;

    private Integer version;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getOrgKindId() {
        return orgKindId;
    }

    public void setOrgKindId(String orgKindId) {
        this.orgKindId = orgKindId;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getNodeType() {
        return nodeType;
    }

    public void setNodeType(Integer nodeType) {
        this.nodeType = nodeType;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIconName() {
        return iconName;
    }

    public void setIconName(String iconName) {
        this.iconName = iconName;
    }

    public String getSortNo() {
        return sortNo;
    }

    public void setSortNo(String sortNo) {
        this.sortNo = sortNo;
    }

    public String getSequence() {
        return sequence;
    }

    public void setSequence(String sequence) {
        this.sequence = sequence;
    }

    public Integer getValidState() {
        return validState;
    }

    public void setValidState(Integer validState) {
        this.validState = validState;
    }

    public Integer getAutoExpand() {
        return autoExpand;
    }

    public void setAutoExpand(Integer autoExpand) {
        this.autoExpand = autoExpand;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", parentId=").append(parentId);
        sb.append(", name=").append(name);
        sb.append(", fname=").append(fname);
        sb.append(", fid=").append(fid);
        sb.append(", orgKindId=").append(orgKindId);
        sb.append(", provinceId=").append(provinceId);
        sb.append(", level=").append(level);
        sb.append(", nodeType=").append(nodeType);
        sb.append(", phone=").append(phone);
        sb.append(", fax=").append(fax);
        sb.append(", address=").append(address);
        sb.append(", zip=").append(zip);
        sb.append(", description=").append(description);
        sb.append(", iconName=").append(iconName);
        sb.append(", sortNo=").append(sortNo);
        sb.append(", sequence=").append(sequence);
        sb.append(", validState=").append(validState);
        sb.append(", autoExpand=").append(autoExpand);
        sb.append(", version=").append(version);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}